Signal class¶
Attributes: [DebuggerDisplay("{DebuggerDisplay,nq}")]
Defined in
Namespace: ReactiveUI.Primitives.Signals
Assembly: ReactiveUI.Primitives.Core.dll
Full name: ReactiveUI.Primitives.Signals.Signal<T>
Modifiers: public
Summary¶
A signal that is both an observer and observable of values.
Applies to
net10.0, net10.0, net10.0-desktop1.0, net10.0-desktop1.0, net10.0-browserwasm1.0, net10.0-browserwasm1.0, net9.0, net9.0, net9.0-desktop1.0, net9.0-desktop1.0, net9.0-browserwasm1.0, net9.0-browserwasm1.0, net8.0, net8.0, net8.0-ios17.5, net8.0-macos14.5, net8.0-macos14.5, net8.0-macos14.2, net8.0-macos14.2, net8.0-maccatalyst17.5, net8.0-maccatalyst17.5, net8.0-tvos17.2, net8.0-tvos17.2, net8.0-ios17.5, netstandard2.1, netstandard2.1, net481, net462, net462, net481
Class hierarchy
classDiagram
class Signal~T~
class ISignal~T~ {
<>
}
ISignal~T~ <|.. Signal~T~
class ISignal~T, T~ {
<>
}
ISignal~T, T~ <|.. Signal~T~
class IObserver~T~ {
<>
}
IObserver~T~ <|.. Signal~T~
class IObservable~T~ {
<>
}
IObservable~T~ <|.. Signal~T~
class IsDisposed {
<>
}
IsDisposed <|.. Signal~T~
class IDisposable {
<>
}
IDisposable <|.. Signal~T~
Implements: ISignal
Constructors¶
| Name | Summary |
|---|---|
| .ctor |
Properties¶
| Name | Summary |
|---|---|
| HasObservers | Gets a value indicating whether indicates whether the subject has observers subscribed to it. |
| IsDisposed | Gets a value indicating whether indicates whether the subject has been disposed. |
Methods¶
| Name | Summary |
|---|---|
| Dispose | Releases unmanaged and - optionally - managed resources. |
| OnCompleted | Called when [completed]. |
| OnError | Called when [error]. |
| OnNext | Called when [next]. |
| Subscribe | Subscribes the specified observer. |
| SubscribeAction | Executes the SubscribeAction operation. |